package com.hngy.xpq.android_notebook.utils;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DBUtil {
    public static final String DATABASE_NAME = "Notebook";
    public static final String DATABASE_TABLE = "Note";
    public static final int DATABASE_VERION = 1;

    public static final String NOTEPAD_ID = "id";
    public static final String NOTEPAD_TEXT = "text";
    public static final String NOTEPAD_TIME = "time";

    public static final String getTime(){
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        Date date = new Date(System.currentTimeMillis());
        return simpleDateFormat.format(date);
    }
}
